
public class stringTests {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		 String one = "someString";
	     String two =  new String("someString");
	     
	     two = two.intern();
	      //String two = "someString";
	        
	        
	        System.out.println(one.equals(two));
	        System.out.println(one == two);
	        System.out.println(one == "someString");
	        
	        
	        
	        String bareLong = "djakdhkakjhdhjkadjkhagdgasdhgjgahjdghasdjagjhd";
	        System.out.println(bareLong.substring(3, 12));
		
		
	}

}
